M = {}

function M.setup()
  require('gitsigns').setup {
	  signs = {
        add = {hl = 'GitGutterAdd', text = '▋'},
        change = {hl = 'GitGutterChange',text= '▋'},
        delete = {hl= 'GitGutterDelete', text = '▋'},
        topdelete = {hl ='GitGutterDeleteChange',text = '▔'},
        changedelete = {hl = 'GitGutterChange', text = '▎'},
      },
    numhl = false,
    linehl = false,
    keymaps = require("my.keymap").git_keymaps(),
    watch_index = {
      interval = 1000,
      follow_files = true
    },
    current_line_blame = false,
    current_line_blame_opts = {
      delay = 1000,
      virt_text_pos = 'eol'
    },
    sign_priority = 6,
    update_debounce = 100,
    status_formatter = nil, -- Use default
    word_diff = false,
    use_internal_diff = true  -- If luajit is present
  }
end

return M
